1)  Install DeusEx, DeusEx SDK and extract the DeusEx Source.  Instructions on how to extract the DeusEx Source can be found at the bottom of the file.

2) This will change the camera to a side view, so you can see how queer JCDenton looks when he jumps.

3)  Create c:\deusex\mm\classes\sideview.uc.  Open it and add the following code:

class SideView expands JCDentonMale;

event PlayerCalcView( out actor ViewActor, out vector CameraLocation, out rotator CameraRotation ) 
{ 
// Just need to set bBehindView to true, otherwise the 1st person perspective 
// model is used (i.e. just the gun and no player). 
// Set ViewActor to yourself, because that is really what you want to look at in this //tutorial. 
ViewActor = Self; 
bBehindView = true; 
                                 
// The Camera's location is a vector that is placed at the player when  
// this function is called.  Because we want to implement a side view 
// camera, we will have to shift it to the right by a certain amount. 
// The Y component of a actor's location is its side to side offset, while 
// X is front to back and Z is up and down.  So lets move the Camera over 
// to the side of the player by a certain amount plus the size of the Player 
// Model.  I'll choose 350 for this, but really you can mess around with it 
// to get the desired view. 
CameraLocation.Y += CollisionRadius + 350;

// We have our camera positioned to the side of the player, 
// but unfortunatly, up to this point, it will be facing whichever direction 
// the player is facing, or his ViewRotation.  To avoid this, we should set 
// the camera's rotation to something fixed, because we don't want the camera  
// to tilt for this tutorial, unless you want to mlook.  
// Rotation consists of 3 quantities, Pitch, Yaw, and Roll.  Without going 
// too much into it, Pitch is the up-down tilting, yaw is the left-right tilting

// and Roll is basically just that how much the thing is rolling.  For our  
// purposes, we just want the camera to tilt to the side a bit and look at  
// our model from the side, so lets create a new rotator that will not have  
// any change in up/down tilting, or roll, but will tilt/look to the side  
// by -50 to essentially look at the player.   
CameraRotation = rotator(vect(0,-50,0));  
}

4)  Save and compile the code, remembering to check for the existence of mm.u, if it does exist, delete it.

5)  Open user.ini and change the Class= line to:

Class=mm.SideView

Save and close this file.  Start Deus Ex, load up any map and admire the new view!

Thank you for using this tutorial!  Email me at boneskull62@hotmail.com with your opinion or post them on Modus Moriendi's message board or this message board.